﻿namespace OT.HikiSecureCenterApis.Service.OneCard.Res
{
    public class ResCCSDevice
    {
        /// <summary>
        /// 唯一编码
        /// </summary>
        public string indexCode { get; set; }
        /// <summary>
        /// 资源类型
        /// </summary>
        public string resourceType { get; set; }
        /// <summary>
        /// 资源名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// IP
        /// </summary>
        public string ip { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public string port { get; set; }
        /// <summary>
        /// 经度，精确到小数点后8位
        /// </summary>
        public decimal longitude { get; set; }
        /// <summary>
        /// 纬度，精确到小数点后8位
        /// </summary>
        public decimal latitude { get; set; }
        /// <summary>
        /// 海拔高度，单位：米
        /// </summary>
        public string elevation { get; set; }
        /// <summary>
        /// 能力集，详见附录A.44 设备能力集
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#e043207b
        /// </summary>
        public string capability { get; set; }
        /// <summary>
        /// 设备驱动
        /// </summary>
        public string deviceKey { get; set; }
        /// <summary>
        /// 设备系列
        /// </summary>
        public string deviceType { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string deviceModel { get; set; }
        /// <summary>
        /// 设备驱动版本号
        /// </summary>
        public string deviceKeyVersion { get; set; }
        /// <summary>
        /// 设备的序列号
        /// </summary>
        public string devSerialNum { get; set; }
        /// <summary>
        /// 主动设备编号
        /// </summary>
        public string deviceIndexCode { get; set; }
        /// <summary>
        /// 厂商
        /// </summary>
        public string manufacturer { get; set; }
        /// <summary>
        /// 时区ID
        /// </summary>
        public string zoneId { get; set; }
        /// <summary>
        /// 所属网域
        /// </summary>
        public string netZoneId { get; set; }
        /// <summary>
        /// 设备机号
        /// </summary>
        public string deviceCode { get; set; }
        /// <summary>
        /// 设备卡容量
        /// </summary>
        public int cardCapacity { get; set; }
        /// <summary>
        /// 人脸容量
        /// </summary>
        public int faceCapacity { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 所属区域
        /// </summary>
        public string regionIndexCode { get; set; }
        /// <summary>
        /// 所属区域路径,以@符号分割，包含本节点
        /// </summary>
        public string regionPath { get; set; }
        /// <summary>
        /// 接入协议，详见附录A.6 编码设备接入协议
        /// https://open.hikvision.com/docs/0f6e8e1e41a14304aeecd287530b9c95?curNodeId=0f6e8e1e41a14304aeecd287530b9c95#d4852837
        /// </summary>
        public string treatyType { get; set; }
        /// <summary>
        /// 安装位置
        /// </summary>
        public string installLocation { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string updateTime { get; set; }
        /// <summary>
        /// 数据在界面上显示的顺序
        /// </summary>
        public int disOrder { get; set; }
        /// <summary>
        /// 区域名
        /// </summary>
        public string regionName { get; set; }
        /// <summary>
        /// 区域路径名称，"/"分隔
        /// </summary>
        public string regionPathName { get; set; }
        /// <summary>
        /// 状态码小于0则资源已删除
        /// </summary>
        public int status { get; set; }
    }

}
